.history-container{
    min-height:  calc(~"100vh - 100rpx");
    background-color: #f5f3f8;
    // 日历
    .calendar{
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      z-index: 999;
        .contrast{
            position: absolute;
            z-index: 9999999;
            right: 30rpx;
            top: 50%;
            transform: translateY(-50%);
            display: inline-block;
            color: #8279ea;
            font-size: 28rpx;
            border-radius: 30rpx;
            padding: 2rpx 15rpx;
            border: 1px solid #8279ea;
        }
        // 日历start
        .calendar-box {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            padding-top: 100rpx;
            box-sizing: border-box;
            transition: all 0.3s;
            opacity: 0;
          }
          
          .calendar-box.active {
            opacity: 1;
          }
          
          .calendar-wrapper {
            width: 100%;
            border-top: 1px #f5f5f5 solid;
            box-sizing: border-box;
            font-size: 26rpx;
            background: #fff;
            transition: all 0.3s;
            transform: translateY(-100%);
          }
          
          .calendar-wrapper.active {
            transform: translateY(0%);
          }
          
          .header {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            height: 100rpx;
            /* width: 100%; */
            background: #fff;
            /* padding: 0 30rpx; */
            z-index: 10000;
          }
          
          .top-jiantou {
            width: 100rpx;
            height: 100rpx;
            text-align: center;
            box-sizing: border-box;
            line-height: 100rpx;
          }
          
          .iconfont {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            color: #8279ea;
            width: 53rpx;
            height: 53rpx;
          }
          
          .iconfont .left, .iconfont .right {
            display: block;
            width: 0;
            height: 0;
            border-top: 20rpx solid transparent;
            border-bottom: 20rpx solid transparent;
          }
          
          .iconfont .left {
            border-right: 40rpx solid transparent;
          }
          
          .iconfont .right {
            border-left: 40rpx solid transparent;
          }
          
          .iconfont .left.color {
            border-right-color: #8279ea;
          }
          
          .iconfont .right.color {
            border-left-color: #8279ea;
          }
          
          .btn {
            margin: 0 10rpx;
            width: 240rpx;
            height: 53rpx;
            border: 1rpx solid #8279ea;
            border-radius: 26rpx;
            color: #8279ea;
            font-size: 26rpx;
            box-sizing: border-box;
          }
          
          .calendar-panel {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32rpx;
            height: 80rpx;
          }
          
          .backtoday {
            position: absolute;
            right: 0;
            top: 15rpx;
            padding: 0 10rpx;
            padding-left: 20rpx;
            height: 50rpx;
            line-height: 50rpx;
            border: 1px #8279ea solid;
            border-right: none;
            font-size: 28rpx;
            border-top-left-radius: 50rpx;
            border-bottom-left-radius: 50rpx;
            color: #8279ea;
            background: rgba(82, 184, 245, 0.1);
          }
          
          .date-befor, .date-after {
            /* border: 1px red solid; */
            display: flex;
            justify-content: center;
            align-items: center;
            height: 80rpx;
            width: 80rpx;
            text-align: center;
            line-height: 80rpx;
            /* margin-right: 20rpx; */
          }
          
          /* .date-after {
              margin-left: 20rpx;
          } */
          
          .calendar-panel-box {
            display: flex;
          }
          
          .calendar-header {
            display: flex;
          }
          
          .calendar-header view {
            width: 100%;
            text-align: center;
            line-height: 80rpx;
            color: #8279ea;
          }
          
          .calendar-body {
            display: flex;
            flex-wrap: wrap;
          }
          
          .calender-body-date-week {
            display: flex;
            width: 100%;
            border-bottom: 1px #f5f5f5 solid;
          }
          
          .date {
            position: relative;
            width: 100%;
            text-align: center;
            color: #1c1c1c;
            background: #fff;
            line-height: 100rpx;
          }
          
          .date.active {
            background: red;
          }
          
          .placeholder {
            color: #a4a4a4;
          }
          
          .date-current {
            background: #8279ea;
            color: #fff;
          }
          
          .data-circle {
            position: absolute;
            bottom: 10rpx;
            left: 0;
            right: 0;
            margin: auto;
            width: 10rpx;
            height: 10rpx;
            border-radius: 50%;
            background: #ff5a5f;
            z-index: 2;
          }
          
          .packup {
            width: 100%;
            height: 100rpx;
            line-height: 100rpx;
            text-align: center;
            color: #8279ea;
          }
          
          .flex-center {
            display: flex;
            align-items: center;
            justify-content: center;
          }
          
        //日历end

    }

    .history-content{
      margin-top: 100rpx;
      overflow: hidden;
          // 对比值
        .record-val {
          padding: 0 20rpx;
          .record-val-content {
            .record-val-item {
                position: relative;
                background-color: #fff;
                height: 70rpx;
                margin-top: 30rpx;
                border: 2rpx solid #8279ea;
                border-radius: 10rpx;
                display: flex;
                align-items: center;
              .item-date {
                  font-size: 20rpx;
                  color: #8c8c8c;
                  text-align: center;
                  width: 190rpx;
                  display: inline-block;
                  margin-right: 25rpx;
                .item-date-top {
                  
                }
        
                .item-date-bottom {   
        
                }
              }
        
              .item-weight {
                  display: inline-block;
                  margin-right: 50rpx;
                  width: 200rpx;
                .item-weight-title {
                  display: inline-block;
                  font-size: 22rpx;
                  margin-right: 20rpx;
                  vertical-align: middle;
                }
        
                .item-weight-val {
                  display: inline-block;
                  color: #8279ea;
                  font-size: 32rpx;
                  vertical-align: middle;

                }
              }
        
              .item-BMI {
                  display: inline-block;
                .item-weight-title {
                  display: inline-block;
                  font-size: 22rpx;
                  margin-right: 20rpx;
                  vertical-align: middle;
                }
        
                .item-weight-val {
                  display: inline-block;
                  font-size: 32rpx;
                  color: #8279ea;
                  vertical-align: middle;
                }
              }
        
              .item-del {
                  position: absolute;
                  top: 50%;
                  transform: translateY(-50%);
                  right: 20rpx;
                  font-size: 50rpx;
                  font-weight: lighter;
                  color: #979797;
              }
            }
          }
        }

      // 历史记录
      .weighing-record {
          .weighing-record-title {
              padding-left: 30rpx;
              line-height: 60rpx;
              color: #898989;
              font-size: 24rpx;
          }
      
          .weighing-record-content {
              .weighing-record-item {
                  background-color: #fff;
                  height: 136rpx;
                  border-bottom: 1rpx solid #eeeeee;
                  padding: 0 40rpx;
                  display: flex;
                  align-items: center;
                  .item-icon {
                      width: 70rpx;
                      margin-right: 60rpx;
                      text-align: center;
                      .item-icon-img {
                          display: inline-block;
                          width: 55rpx;
                          height: 55rpx;
                          border-radius: 50%;
                          background-color: #40cb4a;
                          display: flex;
                          justify-content: center;
                          align-items: center;
                          color: #fff;
                          margin: 0 auto;
                          text {
                              font-size: 32rpx;
                          }
                      }
              
                      .item-icon-text {
                          font-size: 26rpx;
                          color: #848484;
                      }
                  }
          
                  .item-data {
                    text-align: center;
                    flex: 1;
                    .item-weight-val {
                        font-size: 38rpx;
                        color: #525252;
                    }
                    .up{
                        color: #ff6000;
                    }
                    .decline{
                        color: #8279ea;
                    }
                    .item-weight-text {
                        margin-top: 5rpx;
                        font-size: 26rpx;
                        color: #8e8e8e;
                    }
                  }
                  .item-radio{
                      width: 56rpx;
                      margin-left: 25rpx;
                      image{
                        width: 100%; 
                        height: 56rpx;
                      }
                      
                  }
              }
          }
      }
      .weighing-record-empty{
        image{
          display: block;
          margin: 110rpx auto 0;
          width: 324rpx;
          height: 426rpx;
        }
        .text{
          margin-top: 40rpx;
          color: #a0a0a0;
          text-align: center;
          font-size: 32rpx;
        }
      }
      

      //全部记录
      .all-record{
          position: fixed;
          right: 30rpx;
          bottom: 30rpx;
          width: 145rpx;
          height: 145rpx;
          color: #8279ea;
          font-size: 28rpx;
          background-color: #fff;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          box-shadow: 0 0 60rpx 0rpx rgba(76, 36, 255, 0.3);
      }

      // 开始对比
      .start-contrast{
          position: fixed;
          left: 50%;
          transform: translateX(-50%);
          bottom: 22rpx;
          width: 554rpx;
          line-height: 88rpx;
          border-radius: 44rpx;
          text-align: center;
          font-size: 32rpx;
          color: #fff;
      }
      .start-contrast-good{
          background-color:#8279ea;
      }
      .start-contrast-bad{
          background-color: #a9a9a9;
      }
    }

    
}


